.toast {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;

	&-mask {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	&-content {
		position: fixed;
		left: 50%;
		min-width: 200px;
		max-width: 80%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: rgba(0, 0, 0, 0.6);
		color: #fff;
		text-align: center;
		border-radius: 8px;
		padding: 14px 20px;

		&.top {
			top: 10%;
			transform: translate(-50%, 0%);
		}
		&.center {
			top: 50%;
			transform: translate(-50%, -50%);
		}
		&.bottom {
			bottom: 10%;
			transform: translate(-50%, 0);
		}
		&.icon {
			width: 240px;
			height: 240px;
		}

		&-icon {
			width: 120px;
			height: 100px;
			line-height: 100px;
			margin-bottom: 10px;
			.iconfont {
				font-size: 80px;
			}
		}
		&-text {
			word-break: break-all;
			font-size: 28px;
		}
	}
}

.fade-enter-active,
.fade-leave-active {
	transition: opacity 0.5s ease;
}

// .fade-enter-from,
.fade-leave-to {
	opacity: 0;
}
